package com.yitao.cms.service.order;

import com.yitao.cms.dto.order.OrderDeliveryUpdateLogDto;
import com.yitao.cms.model.order.OrderDeliveryUpdateLogModel;
import com.yitao.cms.model.order.QOrderDeliveryUpdateLogModel;
import org.springframework.stereotype.Service;

import javax.persistence.EntityManager;


/** 实际包路径不同 则使用快捷键 快速导入即可 **/
// import com.yitao.model.OrderDeliveryUpdateLogModel;
// import com.yitao.model.QOrderDeliveryUpdateLog;
// import com.yitao.dto.OrderDeliveryUpdateLogDto;
import com.skipper.base.service.GenericEntityService;
import org.springframework.transaction.annotation.Transactional;


@Service
public class OrderDeliveryUpdateLogService extends GenericEntityService<OrderDeliveryUpdateLogModel, OrderDeliveryUpdateLogDto, QOrderDeliveryUpdateLogModel> {

    public OrderDeliveryUpdateLogService(EntityManager entityManager) {
        super(entityManager);
    }


    @Transactional
    public void save(OrderDeliveryUpdateLogModel orderDeliveryUpdateLogModel) {
        repository.save(orderDeliveryUpdateLogModel);
    }
}